<!DOCTYPE html>
<html>
<head>
    

    

    



    <meta charset="utf-8">
    
    
    
    <title>尼古拉斯-鱼丸博客 | 喝酒、吃肉、不赌</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <meta name="theme-color" content="#3F51B5">
    
    
    <meta name="keywords" content="undefined">
    <meta property="og:type" content="website">
<meta property="og:title" content="尼古拉斯-鱼丸博客">
<meta property="og:url" content="http://fish_08.oschina.io/index.html">
<meta property="og:site_name" content="尼古拉斯-鱼丸博客">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="尼古拉斯-鱼丸博客">
    
        <link rel="alternative" href="/atom.xml" title="尼古拉斯-鱼丸博客" type="application/atom+xml">
    
    <link rel="shortcut icon" href="/favicon.ico">
    <link rel="stylesheet" href="/css/style.css?v=1.6.7">
    <script>window.lazyScripts=[]</script>
</head>

<body>
    <div id="loading" class="active"></div>

    <aside id="menu"  >
  <div class="inner flex-row-vertical">
    <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menu-off">
        <i class="icon icon-lg icon-close"></i>
    </a>
    <div class="brand-wrap">
      <div class="brand">
        <a href="/" class="avatar waves-effect waves-circle waves-light">
          <img src="/img/avatar.jpg">
        </a>
        <hgroup class="introduce">
          <h5 class="nickname">于亮</h5>
          <a href="mailto:136214289@qq.com" title="136214289@qq.com" class="mail">136214289@qq.com</a>
        </hgroup>
      </div>
    </div>
    <div class="scroll-wrap flex-col">
      <ul class="nav">
        
            <li class="waves-block waves-effect active">
              <a href="/"  >
                <i class="icon icon-lg icon-home"></i>
                主页
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/archives"  >
                <i class="icon icon-lg icon-archives"></i>
                文档
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/tags"  >
                <i class="icon icon-lg icon-tags"></i>
                标签
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="http://git.oschina.net/fish_08" target="_blank" >
                <i class="icon icon-lg icon-github"></i>
                Github
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="http://weibo.com/2837335591/profile?rightmod=1&wvr=6&mod=personinfo" target="_blank" >
                <i class="icon icon-lg icon-weibo"></i>
                Weibo
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/custom"  >
                <i class="icon icon-lg icon-link"></i>
                测试
              </a>
            </li>
        
      </ul>
    </div>
  </div>
</aside>

    <main id="main">
        <header class="top-header" id="header">
    <div class="flex-row">
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light on" id="menu-toggle">
          <i class="icon icon-lg icon-navicon"></i>
        </a>
        <div class="flex-col header-title ellipsis">尼古拉斯-鱼丸博客</div>
        
        <div class="search-wrap" id="search-wrap">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
                <i class="icon icon-lg icon-chevron-left"></i>
            </a>
            <input type="text" id="key" class="search-input" autocomplete="off" placeholder="输入感兴趣的关键字">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="search">
                <i class="icon icon-lg icon-search"></i>
            </a>
        </div>
        
        
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menuShare">
            <i class="icon icon-lg icon-share-alt"></i>
        </a>
        
    </div>
</header>
<header class="content-header index-header">

    <div class="container fade-scale">
        <h1 class="title">尼古拉斯-鱼丸博客</h1>
        <h5 class="subtitle">
            
                喝酒、吃肉、不赌
            
        </h5>
    </div>

    

</header>

<div class="container body-wrap">

    <ul class="post-list">
    
        <li class="post-list-item fade">
            <article id="post-java内存管理"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2018年01月02日 13:58" datetime="2018-01-02T05:58:58.000Z"  itemprop="datePublished">2018-01-02</time>

        


        

    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2018/01/02/java内存管理/">java内存管理</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        java垃圾回收在什么时候?程序员不能具体控制时间，系统在不可预测的时间调用System.gc()函数的时候；当然可以通过调优，用NewRatio控制newObject和oldObject的比例，用MaxTenuringThreshold 控制进入oldObject的次数，使得oldObject 存储空间延迟达到full gc,从而使得计时器引发gc时间延迟OOM的时间延迟，以延长对象生存期...
    

        <a href="/2018/01/02/java内存管理/" class="post-more waves-effect waves-button">
            阅读全文...
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/HotSpotjvm/">HotSpotjvm</a></li></ul>

    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-大型网站技术架构5-网站安全性"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2017年11月30日 16:10" datetime="2017-11-30T08:10:15.000Z"  itemprop="datePublished">2017-11-30</time>

        


        

    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2017/11/30/大型网站技术架构5-网站安全性/">大型网站技术架构5-网站安全性</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        读《大型网站技术架构-李智慧》笔记
网站安全性？攻击：xss攻击 sql注入攻击  CSRF session劫持信息泄漏
网站攻击和防御1.xss攻击反射性xss攻击持久性xss攻击
防御手段：消毒转移，httpOnly防止脚本窃取
2.注入攻击sql注入，需要对数据库结构有所了解获取数据库信息手段：开源 500错误回显 盲注防御：消毒 ，参数正则匹配消毒；参数绑定，预编译sql
os注入攻...
    

        <a href="/2017/11/30/大型网站技术架构5-网站安全性/" class="post-more waves-effect waves-button">
            阅读全文...
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/大型网站技术架构/">大型网站技术架构</a></li></ul>

    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-大型网站技术架构4-网站可扩展性"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2017年11月30日 15:04" datetime="2017-11-30T07:04:16.000Z"  itemprop="datePublished">2017-11-30</time>

        


        

    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2017/11/30/大型网站技术架构4-网站可扩展性/">大型网站技术架构4-网站可扩展性</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        读《大型网站技术架构-李智慧》笔记
网站扩展性？对现有系统影响最小的情况下，系统功能可持续扩展或提升的能力。表现在系统基础设施稳定不需要经常变更，应用之间较少的依赖和耦合，对需求变更可以更敏捷的响应系统架构设计的开闭原则：对扩展开发，对修改关闭
构建可扩展的网站架构开发低耦合系统是软件设计的最高目标；低耦合利于扩展，利于复用，利于开发和维护，降低复杂度；设计网站可扩展架构的核心思想：模块化，...
    

        <a href="/2017/11/30/大型网站技术架构4-网站可扩展性/" class="post-more waves-effect waves-button">
            阅读全文...
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/大型网站技术架构/">大型网站技术架构</a></li></ul>

    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-大型网站技术架构3-网站伸缩性"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2017年11月29日 15:57" datetime="2017-11-29T07:57:20.000Z"  itemprop="datePublished">2017-11-29</time>

        


        

    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2017/11/29/大型网站技术架构3-网站伸缩性/">大型网站技术架构3-网站伸缩性</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        读《大型网站技术架构-李智慧》笔记
网站伸缩性？不需要改变网站软硬件的设计，只需要通过改变部署的服务器的数量就可以扩大或者缩小网站的服务处理能力。小网站到大网站渐进式演进过程中，最重要的技术手段就是使用集群
网站的伸缩性设计1.不同功能进行物理分离实现伸缩  纵向分离(分层分离)：将业务处理流程上不同部分分离部署，实现伸缩性  横向分离(业务分割分离):将业务模块分离，实现伸缩性2.单一功能...
    

        <a href="/2017/11/29/大型网站技术架构3-网站伸缩性/" class="post-more waves-effect waves-button">
            阅读全文...
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/大型网站技术架构/">大型网站技术架构</a></li></ul>

    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-大型网站技术架构2-网站高可用"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2017年11月29日 14:28" datetime="2017-11-29T06:28:00.000Z"  itemprop="datePublished">2017-11-29</time>

        


        

    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2017/11/29/大型网站技术架构2-网站高可用/">大型网站技术架构2-网站高可用</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        读《大型网站技术架构-李智慧》笔记
网站可用性网站可以有效访问的特性
网站可用性的度量和考核 度量：4个9 99.99%可用 一年大约53分钟不可用       3个999 99.9%可用  一年大概9小时不可用       2个99   99% 一年大概88小时不可用       5个99999 99.999% 一年大概5分钟不可用 考核：    故障分=故障时间*故障权重
高可用的网站架...
    

        <a href="/2017/11/29/大型网站技术架构2-网站高可用/" class="post-more waves-effect waves-button">
            阅读全文...
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/大型网站技术架构/">大型网站技术架构</a></li></ul>

    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-大型网站技术架构1-网站高性能"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2017年11月29日 10:29" datetime="2017-11-29T02:29:42.000Z"  itemprop="datePublished">2017-11-29</time>

        


        

    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2017/11/29/大型网站技术架构1-网站高性能/">大型网站技术架构1-网站高性能</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        读《大型网站技术架构-李智慧》笔记
如何判断网站是高性能？ 1.客观技术指标：网站吞吐量、并发、响应时间等 2.主观感受
网站性能测试&nbsp;&nbsp;性能测试是性能优化的基础和前提，也是性能优化结果的检查和度量标准;不同视角下的网站性能有不同的标准，也有不同的优化手段。
用户视角的网站性能   关注点：网站响应速度快慢   优化手段：优化HTML样式、利用浏览器的并发和异步特性、调整...
    

        <a href="/2017/11/29/大型网站技术架构1-网站高性能/" class="post-more waves-effect waves-button">
            阅读全文...
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/大型网站技术架构/">大型网站技术架构</a></li></ul>

    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-meipro-file"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2017年08月29日 14:17" datetime="2017-08-29T06:17:38.000Z"  itemprop="datePublished">2017-08-29</time>

        


        

    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2017/08/29/meipro-file/">美办集成GFS文件服务</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        什么是GFS?GFS文件服务系统，负责文件的上传存储、访问等功能。
GFS文件存储和文件浏览流程文件存储
                
                    
                    
                
                文件存储
            FileHelper工具类发送GFS请求123//Ribbon请求调用...
    

        <a href="/2017/08/29/meipro-file/" class="post-more waves-effect waves-button">
            阅读全文...
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/GFS/">GFS</a></li></ul>

    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-activity"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2017年08月17日 10:23" datetime="2017-08-17T02:23:56.000Z"  itemprop="datePublished">2017-08-17</time>

        


        

    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2017/08/17/activity/">Activiti</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        摘自：三分钟了解activiti工作流(http://www.it165.net/pro/html/201504/37443.html)摘自：activiti工作流学习(http://blog.csdn.net/zwk626542417/article/details/46592471)
什么是Activiti?  工作流是将一组任务组织起来以完成某个经营过程：定义了任务的触发顺序和触发条件...
    

        <a href="/2017/08/17/activity/" class="post-more waves-effect waves-button">
            阅读全文...
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Activiti/">Activiti</a></li></ul>

    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-SpringCloud服务容错保护Hystrix监控数据聚合"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2017年07月26日 18:09" datetime="2017-07-26T10:09:30.000Z"  itemprop="datePublished">2017-07-26</time>

        


        

    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2017/07/26/SpringCloud服务容错保护Hystrix监控数据聚合/">SpringCloud服务容错保护Hystrix监控数据聚合</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        Spring Cloud构建微服务架构（一）服务注册与发现程序猿DD-翟永超 |博客转载(http://blog.didispace.com/spring-cloud-starter-dalston-5-2/)上一篇我们介绍了使用Hystrix Dashboard来展示Hystrix用于熔断的各项度量指标。通过Hystrix Dashboard，我们可以方便的查看服务实例的综合情况，比如：服...
    

        <a href="/2017/07/26/SpringCloud服务容错保护Hystrix监控数据聚合/" class="post-more waves-effect waves-button">
            阅读全文...
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Hystrix/">Hystrix</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SpringCloud/">SpringCloud</a></li></ul>

    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-SpringCloud服务容错保护Hystrix监控面板"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2017年07月26日 17:42" datetime="2017-07-26T09:42:50.000Z"  itemprop="datePublished">2017-07-26</time>

        


        

    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/2017/07/26/SpringCloud服务容错保护Hystrix监控面板/">SpringCloud服务容错保护Hystrix监控面板</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        Spring Cloud构建微服务架构：Hystrix监控面板【Dalston版】程序猿DD-翟永超|博客转载(http://blog.didispace.com/spring-cloud-starter-dalston-4-3/)在上一篇《服务容错保护（hystrix断路器）》的介绍中，我们提到断路器是根据一段时间窗内的请求情况来判断并操作断路器的打开和关闭状态的。而这些请求情况的指标信息...
    

        <a href="/2017/07/26/SpringCloud服务容错保护Hystrix监控面板/" class="post-more waves-effect waves-button">
            阅读全文...
        </a>
    </div>
    
    <div class="post-footer">
        
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Hystrix/">Hystrix</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SpringCloud/">SpringCloud</a></li></ul>

    </div>
    
</article>

        </li>
    
    </ul>

    
<nav id="page-nav">
    <div class="inner">
    <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><a class="extend next" rel="next" href="/page/2/">下一页</a>
    </div>
</nav>


</div>

        <footer class="footer">
    <div class="top">
        
<p>
    <span id="busuanzi_container_site_uv" style='display:none'>
        站点总访客数：<span id="busuanzi_value_site_uv"></span>
    </span>
    <span id="busuanzi_container_site_pv" style='display:none'>
        站点总访问量：<span id="busuanzi_value_site_pv"></span>
    </span>
</p>


        <p>
            <span><a href="/atom.xml" target="_blank" class="rss" title="rss"><i class="icon icon-lg icon-rss"></i></a></span>
            <span>博客内容遵循 <a href="http://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">知识共享 署名 - 非商业性 - 相同方式共享 4.0协议</a></span>
        </p>
    </div>
    <div class="bottom">
        <p>
            <span>Power by <a href="http://hexo.io/" target="_blank">Hexo</a> Theme <a href="http://fish_08.oschina.io/" target="_blank">yuliang</a></span>
            <span>尼古拉斯-鱼丸博客 &copy; 2015 - 2018</span>
        </p>
    </div>
</footer>

    </main>
    <div class="mask" id="mask"></div>
<a href="javascript:;" id="gotop" class="waves-effect waves-circle waves-light"><span class="icon icon-lg icon-chevron-up"></span></a>



<div class="global-share" id="globalShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=http://fish_08.oschina.io/&title=尼古拉斯-鱼丸博客&pic=http://fish_08.oschina.io/img/avatar.jpg" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://fish_08.oschina.io/&title=尼古拉斯-鱼丸博客&source=" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://fish_08.oschina.io/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=尼古拉斯-鱼丸博客&url=http://fish_08.oschina.io/&via=http://fish_08.oschina.io" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=http://fish_08.oschina.io/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>


<div class="page-modal wx-share" id="wxShare">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <p>扫一扫，分享到微信</p>
    <img src="" alt="微信分享二维码">
</div>




    <script src="//cdn.bootcss.com/node-waves/0.7.4/waves.min.js"></script>
<script>
var BLOG = { ROOT: '/', SHARE: true, REWARD: false };



</script>

<script src="/js/main.min.js?v=1.6.7"></script>


<div class="search-panel" id="search-panel">
    <ul class="search-result" id="search-result"></ul>
</div>
<template id="search-tpl">
<li class="item">
    <a href="{path}" class="waves-block waves-effect">
        <div class="title ellipsis" title="{title}">{title}</div>
        <div class="flex-row flex-middle">
            <div class="tags ellipsis">
                {tags}
            </div>
            <time class="flex-col time">{date}</time>
        </div>
    </a>
</li>
</template>

<script src="/js/search.min.js?v=1.6.7" async></script>






<script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>


</body>
</html>
